#ifndef _GRMPEFRAME_H
#define _GRMPEFRAME_H

#include "wx/wxprec.h"
#include "wx/generic/gridctrl.h"
#include "wx/notebook.h"

#ifndef WX_PRECOMP
  #include "wx/wx.h"
#endif

#include "PreprocessorDefines.h"

class OperatingModelPanel;
class MPEPanel;
/* For GrMPEPlot
class MyFrame;
class MySIN;
class MyCOSinverse;
class MyLissajoux;
*/

class GrMPEFrame : public wxFrame
{
  public:
    GrMPEFrame(const wxString& title, int xpos, int ypos, int width, int height);
    ~GrMPEFrame();
    void Quit( wxCommandEvent& event );
    void NewFile( wxCommandEvent& event );
    void OpenFile( wxCommandEvent& event );
    void SaveFile( wxCommandEvent& event );
    void SaveFileAs( wxCommandEvent& event );
    void CloseFile( wxCommandEvent& event );
    void OpenPlot( wxCommandEvent& event );
    DECLARE_EVENT_TABLE()

  private:
    wxMenuBar           *m_pMenuBar;
    wxMenu              *m_pFileMenu;
    wxMenu              *m_pHelpMenu;
    wxMenu              *m_pPlotMenu;
    wxBoxSizer          *m_pFrameSizer;
    wxNotebook          *m_pNotebook;

    MPEPanel            *m_pMPEPanel;
    OperatingModelPanel *m_pOMPanel;
    //MyFrame             *m_pPlotFrame;

    wxTextCtrl          *m_pLogBox;

};

#endif //_GRMPEFRAME_H
